package cn.net.yato.picture.biz;

import cn.net.yato.picture.entity.LoginLog;
import cn.net.yato.picture.entity.User;

/**
 * @author yato
 */
public interface SysBiz {

    /**
     * 登录
     * @param userName
     * @return
     */
    User loginBiz(String userName);

    /**
     * 记录登录日志
     * @param loginLog
     * @return
     */
    int addLoginLogBiz(LoginLog loginLog);


}
